package com.xin.di.uav.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 用户额外信息表
 * </p>
 *
 * @author LTQ
 * @since 2024-05-31
 */
@TableName("user_company")
@ApiModel(value = "UserCompany对象", description = "用户额外信息表")
public class UserCompany implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String userId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("公司名称")
    private String companyName;

    @ApiModelProperty("营业执照")
    private String businessLicense;

    @ApiModelProperty("营业执照编号")
    private String businessLicenseNumber;

    @ApiModelProperty("联系人")
    private String contacts;

    @ApiModelProperty("联系人手机号码")
    private String contactPhoneNumber;

    @ApiModelProperty("推荐码")
    private String recommendationCode;

    @ApiModelProperty("处理人")
    private String processedBy;


    @ApiModelProperty("企业编号")
    private String enterpriseId;

    @ApiModelProperty("有效期类型，0长期，1时间段")
    private Byte validityPeriodType;

    @ApiModelProperty("有效期开始时间")
    private Date startTime;

    @ApiModelProperty("有效期结束时间")
    private Date endTime;

    @ApiModelProperty("企业折扣，取值大于0小于等于10，一位小数")
    private BigDecimal discount;

    @ApiModelProperty("月结额度")
    private BigDecimal monthlyCreditLimit;

    @ApiModelProperty("已用额度")
    private BigDecimal usedCreditLimit;

    @ApiModelProperty("拒绝原因")
    private String rejectReason;

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    public BigDecimal getUsedCreditLimit() {
        return usedCreditLimit;
    }

    public void setUsedCreditLimit(BigDecimal usedCreditLimit) {
        this.usedCreditLimit = usedCreditLimit;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getMonthlyCreditLimit() {
        return monthlyCreditLimit;
    }

    public void setMonthlyCreditLimit(BigDecimal monthlyCreditLimit) {
        this.monthlyCreditLimit = monthlyCreditLimit;
    }

    public Byte getValidityPeriodType() {
        return validityPeriodType;
    }

    public void setValidityPeriodType(Byte validityPeriodType) {
        this.validityPeriodType = validityPeriodType;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getProcessedBy() {
        return processedBy;
    }

    public void setProcessedBy(String processedBy) {
        this.processedBy = processedBy;
    }

    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    /**
     * 公司状态
     */
    private Byte status;

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicenseNumber() {
        return businessLicenseNumber;
    }

    public void setBusinessLicenseNumber(String businessLicenseNumber) {
        this.businessLicenseNumber = businessLicenseNumber;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getContactPhoneNumber() {
        return contactPhoneNumber;
    }

    public void setContactPhoneNumber(String contactPhoneNumber) {
        this.contactPhoneNumber = contactPhoneNumber;
    }

    public String getRecommendationCode() {
        return recommendationCode;
    }

    public void setRecommendationCode(String recommendationCode) {
        this.recommendationCode = recommendationCode;
    }

    @Override
    public String toString() {
        return "UserCompany{" +
                "id = " + id +
                ", userId = " + userId +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                ", companyName = " + companyName +
                ", businessLicense = " + businessLicense +
                ", businessLicenseNumber = " + businessLicenseNumber +
                ", contacts = " + contacts +
                ", contactPhoneNumber = " + contactPhoneNumber +
                ", recommendationCode = " + recommendationCode +
                "}";
    }
}
